/**
 * @Author       : cxh
 * @Date         : 2021-12-28 13:10:01
 * @LastEditTime : 2021-12-29 12:50:09
 * @LastEditors  : cxh
 * @Description  : 配置跨域及数据库
 * @FilePath     : \vue_WorkSpace\egg-wpt-server\config\plugin.js
 */
'use strict';

/** @type Egg.EggPlugin */
module.exports = {
  // had enabled by egg
  // static: {
  //   enable: true,
  // }

  cors: {
    enable: true,
    package: 'egg-cors',
  },

  mongoose: {
    enable: true,
    package: 'egg-mongoose',
  },

};
